﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Login ID="lgLogin" runat="server" RememberMeSet="true" OnLoggedIn="lgLogin_LoggedIn">
        <LayoutTemplate>
            <div class="div-box">
                <table cellpadding="3">
                    <tr>
                        <td align="right">User Name:</td>
                        <td>
                            <asp:TextBox ID="UserName" runat="server" Width="10em" /><br />
                        </td>
                    </tr>
                    <tr>
                        <td align="right">Password:</td>
                        <td>
                            <asp:TextBox ID="Password" runat="server" TextMode="Password" Width="10em" /><br />
                        </td>
                    </tr>
                    <tr>
                        <td align="center">
                            <asp:DropDownList ID="ddExtension" runat="server" DataSourceID="dsExtensions" DataTextField="number" DataValueField="mac" /><br />
                            <asp:XmlDataSource ID="dsExtensions" runat="server" DataFile="~/App_Data/extensions.xml" />
                        </td>
                        <td align="center" >
                            <asp:Button ID="Login" runat="server" CommandName="Login" Text="Login" />                        
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:Label ID="FailureText" runat="server" />
                        </td>
                    </tr>
                </table>
            </div>
        </LayoutTemplate>
    </asp:Login>

</asp:Content>

